﻿export class Todo {
    Id: Number;
    ParentId: Number;
    Completed: Boolean;
    Editing: Boolean;
    SortOrder: Number;
    GroupName: String;
    Title: String;

    constructor(title: String) {
        this.Id = 0; 
        this.Completed = false;
        this.Editing = false;
        this.Title = title.trim();
    }
}